package com.testfileupload.uploadimg.design.state;

public interface ILift {
    public final static int OPENING_STATE = 1;//敞门状态
    public final static int CLOSEING_STATE= 2;//闭门状态
    public final static int RUNNING_STATE = 3;//运行状态
    public final static int STOPPING_STATE = 4;//停止状态
    //设置电梯的状态
    void setState(int state);
    //电梯门开启动
    void open();
    //电梯门关闭
    void close();
    //电梯能上能下
    void run();
    //还能停下来
    void stop();
}
